package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.FailureDetail;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : FaceSetAddFaceResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-14 15:54
 */
public class FaceSetAddFaceResponse extends ApiResponse {
    private static final long serialVersionUID = 2793694648945175731L;

    /**
     * 用户自定义的 FaceSet 标识，如果未定义则返回值为空。
     */
    @ApiField("outer_id")
    private String outerId;
    /**
     * FaceSet 的标识
     */
    @ApiField("faceset_token")
    private String facesetToken;

    /**
     * 成功加入 FaceSet 的 face_token 数量。
     */
    @ApiField("face_added")
    private Integer faceAdded;

    /**
     * 操作结束后 FaceSet 中的 face_token 总数量。
     */
    @ApiField("face_count")
    private Integer faceCount;

    /**
     * 无法被加入FaceSet的face_token以及原因
     */
    @ApiListField("failure_detail")
    private List<FailureDetail> failureDetail;


    public String getOuterId() {
        return outerId;
    }

    public void setOuterId(String outerId) {
        this.outerId = outerId;
    }

    public String getFacesetToken() {
        return facesetToken;
    }

    public void setFacesetToken(String facesetToken) {
        this.facesetToken = facesetToken;
    }

    public Integer getFaceAdded() {
        return faceAdded;
    }

    public void setFaceAdded(Integer faceAdded) {
        this.faceAdded = faceAdded;
    }

    public Integer getFaceCount() {
        return faceCount;
    }

    public void setFaceCount(Integer faceCount) {
        this.faceCount = faceCount;
    }

    public List<FailureDetail> getFailureDetail() {
        return failureDetail;
    }

    public void setFailureDetail(List<FailureDetail> failureDetail) {
        this.failureDetail = failureDetail;
    }
}
